package utils.geko.crud;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author rjanixz
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface CRUD {

	public enum Order {
		ASC,
		DESC
	}
	
	Order defaultSortOrder() default Order.ASC ;
	String defaultSortName() default "" ;
	boolean isSearchable() default false ;
}
